package com.ruoyi.business.service;

import com.ruoyi.business.domain.BusRent;
import com.ruoyi.business.vo.CheckVo;
import com.ruoyi.common.core.domain.model.LoginUser;

import java.util.List;

/**
*内容: 
*作者: cy
*/   
    
   
public interface BusRentService{


    int deleteByPrimaryKey(Integer id);

    int insert(BusRent record);

    int insertSelective(BusRent record);

    BusRent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BusRent record);

    int updateByPrimaryKey(BusRent record);

    /**
     * 分页查询出租单
     * @param busRent
     * @param loginUser
     * @return
     */

    List<BusRent> selectRentPage(BusRent busRent, LoginUser loginUser);

    /**
     * 根据出租单号查询相关信息
     * @param rentSn
     * @return
     */
    CheckVo checkRentSn(String rentSn);

}
